using System;
using System.ComponentModel.DataAnnotations;

namespace ExamServer.Entities
{
    //针对视图的实体
        public class viewUserHaveMenus
    {
        [Display(Name="菜单编号")]        
        public int Id { get; set; }

        [Display(Name="菜单名称")]        
        public string name { get; set; }

        [Display(Name="菜单图标")]
        public string icon { get; set; }="";

        [Display(Name="菜单路径")]
        public string url { get; set; }="";

        [Display(Name="父级菜单编号,一级菜单为0")]        
        public int Pid { get; set; }
        
        [Display(Name="用户编号")]
        public Guid UID { get; set; }
    }
}